package com.labichaoka.chaoka.entity;

import java.util.List;

/**
 * Created by ruan on 2018/6/4.
 */

public class HomeInitResponse extends BaseResponse{


    /**
     * code : 1
     * data : {"news":[{"nowDate":"2018-06-08","picUrl":"/static/img/new1pic.png","title":"花呗也上征信了？花呗逾期有多严重？","totalRead":100000,"jumpUrl":"/information-details1"},{"nowDate":"2018-06-08","picUrl":"/static/img/new2pic.png","title":"网贷前这样清理优化手机，通过率提高50%！","totalRead":100000,"jumpUrl":"/information-details2"},{"nowDate":"2018-06-08","picUrl":"/static/img/new3pic.png","title":"逾期记录，1招消除，打个电话就行！","totalRead":100000,"jumpUrl":"/information-details3"},{"nowDate":"2018-06-08","picUrl":"/static/img/new4pic.png","title":"重磅：借呗、微粒贷等网贷别乱借，半年超2次或遭银行拒贷","totalRead":100000,"jumpUrl":"/information-details4"}],"overdue":0,"adJumpUrl":"未知","messageNum":0,"adIfShow":false,"adImgUrl":"/static/img/adPop.png","carousel":[{"picUrl":"/static/img/lun1.png","picName":"pic_1","jumpUrl":"/invite-friends"},{"picUrl":"/static/img/lun2.png","picName":"pic_2","jumpUrl":"/heimingdan"}],"user":{"totalQuata":"50000.00","availQuota":"0.00","status":0}}
     * success : true
     */

    private DataBean data;
    private boolean success;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * news : [{"nowDate":"2018-06-08","picUrl":"/static/img/new1pic.png","title":"花呗也上征信了？花呗逾期有多严重？","totalRead":100000,"jumpUrl":"/information-details1"},{"nowDate":"2018-06-08","picUrl":"/static/img/new2pic.png","title":"网贷前这样清理优化手机，通过率提高50%！","totalRead":100000,"jumpUrl":"/information-details2"},{"nowDate":"2018-06-08","picUrl":"/static/img/new3pic.png","title":"逾期记录，1招消除，打个电话就行！","totalRead":100000,"jumpUrl":"/information-details3"},{"nowDate":"2018-06-08","picUrl":"/static/img/new4pic.png","title":"重磅：借呗、微粒贷等网贷别乱借，半年超2次或遭银行拒贷","totalRead":100000,"jumpUrl":"/information-details4"}]
         * overdue : 0
         * adJumpUrl : 未知
         * messageNum : 0
         * adIfShow : false
         * adImgUrl : /static/img/adPop.png
         * carousel : [{"picUrl":"/static/img/lun1.png","picName":"pic_1","jumpUrl":"/invite-friends"},{"picUrl":"/static/img/lun2.png","picName":"pic_2","jumpUrl":"/heimingdan"}]
         * user : {"totalQuata":"50000.00","availQuota":"0.00","status":0}
         */
        private String seed;
        private String overdue;
        private String adJumpUrl;
        private String appAdJumpUrl;
        private int messageNum;
        private boolean adIfShow;
        private String oldUserFlage;
        private String quatoFlag;

        public String getQuatoFlag() {
            return quatoFlag;
        }

        public String getOldUserFlage() {
            return oldUserFlage;
        }

        public void setOldUserFlage(String oldUserFlage) {
            this.oldUserFlage = oldUserFlage;
        }

        public String getAppAdJumpUrl() {
            return appAdJumpUrl;
        }

        public void setAppAdJumpUrl(String appAdJumpUrl) {
            this.appAdJumpUrl = appAdJumpUrl;
        }

        public String getSeed() {
            return seed;
        }

        public void setSeed(String seed) {
            this.seed = seed;
        }

        private String appAdImgUrl;
        private UserBean user;
        private List<NewsBean> news;
        private List<CarouselBean> carousel;

        public String getAppAdImgUrl() {
            return appAdImgUrl;
        }

        public void setAppAdImgUrl(String appAdImgUrl) {
            this.appAdImgUrl = appAdImgUrl;
        }

        public String getOverdue() {
            return overdue;
        }

        public void setOverdue(String overdue) {
            this.overdue = overdue;
        }

        public String getAdJumpUrl() {
            return adJumpUrl;
        }

        public void setAdJumpUrl(String adJumpUrl) {
            this.adJumpUrl = adJumpUrl;
        }

        public int getMessageNum() {
            return messageNum;
        }

        public void setMessageNum(int messageNum) {
            this.messageNum = messageNum;
        }

        public boolean isAdIfShow() {
            return adIfShow;
        }

        public void setAdIfShow(boolean adIfShow) {
            this.adIfShow = adIfShow;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public List<NewsBean> getNews() {
            return news;
        }

        public void setNews(List<NewsBean> news) {
            this.news = news;
        }

        public List<CarouselBean> getCarousel() {
            return carousel;
        }

        public void setCarousel(List<CarouselBean> carousel) {
            this.carousel = carousel;
        }

        public static class UserBean {
            /**
             * totalQuata : 50000.00
             * availQuota : 0.00
             * status : 0
             *
             * overdueDay": 0,
             "warning": "还差4步即可尊享蜡笔超卡专属额度，不要放弃～",
             "waittingPaied": 0,
             "infoExpire": 0,
             *
             */

            private String totalQuata;
            private String availQuota;
            private String status;

            private String waittingPaied;
            private String overdueDay;
            private String warning;
            private String infoExpire;
            private String orderStatus;
            private String orderAppStatus;

            public String getOrderAppStatus() {
                return orderAppStatus;
            }

            public void setOrderAppStatus(String orderAppStatus) {
                this.orderAppStatus = orderAppStatus;
            }

            public String getOrderStatus() {
                return orderStatus;
            }

            public void setOrderStatus(String orderStatus) {
                this.orderStatus = orderStatus;
            }

            public String getWaittingPaied() {
                return waittingPaied;
            }

            public void setWaittingPaied(String waittingPaied) {
                this.waittingPaied = waittingPaied;
            }

            public String getOverdueDay() {
                return overdueDay;
            }

            public void setOverdueDay(String overdueDay) {
                this.overdueDay = overdueDay;
            }

            public String getWarning() {
                return warning;
            }

            public void setWarning(String warning) {
                this.warning = warning;
            }

            public String getInfoExpire() {
                return infoExpire;
            }

            public void setInfoExpire(String infoExpire) {
                this.infoExpire = infoExpire;
            }

            public String getTotalQuata() {
                return totalQuata;
            }

            public void setTotalQuata(String totalQuata) {
                this.totalQuata = totalQuata;
            }

            public String getAvailQuota() {
                return availQuota;
            }

            public void setAvailQuota(String availQuota) {
                this.availQuota = availQuota;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }

        public static class NewsBean {
            /**
             * nowDate : 2018-06-08
             * picUrl : /static/img/new1pic.png
             * title : 花呗也上征信了？花呗逾期有多严重？
             * totalRead : 100000
             * jumpUrl : /information-details1
             */

            private String nowDate;
            private String appPicUrl;
            private String title;
            private int totalRead;
            private String jumpUrl;
            private String appJumpUrl;

            public String getAppJumpUrl() {
                return appJumpUrl;
            }

            public void setAppJumpUrl(String appJumpUrl) {
                this.appJumpUrl = appJumpUrl;
            }

            public String getNowDate() {
                return nowDate;
            }

            public void setNowDate(String nowDate) {
                this.nowDate = nowDate;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public int getTotalRead() {
                return totalRead;
            }

            public void setTotalRead(int totalRead) {
                this.totalRead = totalRead;
            }

            public String getJumpUrl() {
                return jumpUrl;
            }

            public void setJumpUrl(String jumpUrl) {
                this.jumpUrl = jumpUrl;
            }

            public String getAppPicUrl() {
                return appPicUrl;
            }

            public void setAppPicUrl(String appPicUrl) {
                this.appPicUrl = appPicUrl;
            }
        }

        public static class CarouselBean {
            /**
             * picUrl : /static/img/lun1.png
             * picName : pic_1
             * jumpUrl : /invite-friends
             */

            private String appPicUrl;
            private String appJumpUrl;
            private String picName;

            public String getAppPicUrl() {
                return appPicUrl;
            }

            public void setAppPicUrl(String appPicUrl) {
                this.appPicUrl = appPicUrl;
            }

            private String jumpUrl;

            public String getAppJumpUrl() {
                return appJumpUrl;
            }

            public void setAppJumpUrl(String appJumpUrl) {
                this.appJumpUrl = appJumpUrl;
            }

            public String getPicName() {
                return picName;
            }

            public void setPicName(String picName) {
                this.picName = picName;
            }

            public String getJumpUrl() {
                return jumpUrl;
            }

            public void setJumpUrl(String jumpUrl) {
                this.jumpUrl = jumpUrl;
            }
        }
    }
}
